package com.yc.web.clients;

import com.yc.web.controller.model.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

//配置一个feign客户端,指定服务名称
@FeignClient(name = "sayHello-provider")
public interface HelloClient {
    @GetMapping("/hello")
    ResponseResult getHello();
}
